import {
    getJson
} from '@/utils/data/request'
// 获取用户导航栏
export function getSiderBar() {
    return getJson([{
        "id": 1,
        "label": "房产管理",
        "menuType": "C",
        children: [{
            "id": 11,
            "parentId": 1,
            "label": "楼栋管理",
            "path": "HouseBuildingsGrid",
            "menuType": "C",
            children: [{
                "id": 111,
                "parentId": 11,
                "label": "添加",
                "webPerms": "add",
                "menuType": "F"
            }, {
                "id": 112, "parentId": 11,
                "label": "修改",
                "webPerms": "edit",
                "menuType": "F"
            }, {
                "id": 113, "parentId": 11,
                "label": "删除",
                "webPerms": "del",
                "menuType": "F"
            }, {
                "id": 114, "parentId": 11,
                "label": "查询",
                "webPerms": "query",
                "menuType": "F"
            }]
        }, {
            "id": 12,
            "parentId": 1,
            "label": "房间管理",
            "path": "HouseRoomHome",
            "menuType": "C",
            children: [{
                "id": 121,
                "parentId": 12,
                "label": "添加",
                "webPerms": "add",
                "menuType": "F"
            }, {
                "id": 122,
                "parentId": 12,
                "label": "修改",
                "webPerms": "edit",
                "menuType": "F"
            }, {
                "id": 123,
                "parentId": 12,
                "label": "删除",
                "webPerms": "del",
                "menuType": "F"
            }, {
                "id": 124,
                "parentId": 12,
                "label": "查询",
                "webPerms": "query",
                "menuType": "F"
            }]
        }]
    }, {
        "id": 2,
        "label": "租赁管理",
        "menuType": "C",
        children: [{
            "id": 22,
            "parentId": 2,
            "label": "租户管理",
            "path": "RentUserGrid",
            "menuType": "C",
            children: [{
                "id": 221,
                "parentId": 22,
                "label": "添加",
                "webPerms": "add",
                "menuType": "F"
            }, {
                "id": 222,
                "parentId": 22,
                "label": "修改",
                "webPerms": "edit",
                "menuType": "F"
            }, {
                "id": 223,
                "parentId": 22,
                "label": "删除",
                "webPerms": "del",
                "menuType": "F"
            }, {
                "id": 224,
                "parentId": 22,
                "label": "查询",
                "webPerms": "query",
                "menuType": "F"
            }]
        }, {
            "id": 23,
            "parentId": 2,
            "label": "租约管理",
            "path": "RentContractGrid",
            "menuType": "C",
            children: [{
                "id": 231,
                "parentId": 23,
                "label": "添加",
                "webPerms": "add",
                "menuType": "F"
            }, {
                "id": 232,
                "parentId": 23,
                "label": "修改",
                "webPerms": "edit",
                "menuType": "F"
            }, {
                "id": 233,
                "parentId": 23,
                "label": "解除",
                "webPerms": "disengage",
                "menuType": "F"
            }, {
                "id": 234,
                "parentId": 23,
                "label": "查询",
                "webPerms": "query",
                "menuType": "F"
            }, {
                "id": 235,
                "parentId": 23,
                "label": "续期",
                "webPerms": "renewal",
                "menuType": "F"
            }]
        }]
    }])
}